Call DLL




*This is a very handy tool for programmers.  Be absolutely sure you know what you are doing.  If you screw up, you could cause damage to data on your PC and possibly your PC itself.


This gives you the ability to call a function in a DLL.  You must know the name of the DLL, and the name of the function you wish to call.   You are cannot pass parameters to the function.  So be sure the function does not require any parameterss. 


For example, you can have a macro like the following:


<CallDLL:(D:\dlltest\mytest.dll)(DisplayMsg)>


It will load the DLL mytest.dll in the D:\dlltest folder and call the DisplayMsg function. 


Here is an example function written in C/C++:


void DisplayMsg(void)

{

MessageBox(NULL, "EZ Macros called this function", "EZ Macros test", MB_OK|MB_TASKMODAL);

}